package classroom.four;

import javax.swing.*;
import java.awt.*;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:周次煜
 * Date: 2024-04-12
 * Time：10:31
 */
public class Window extends JFrame {

    public  Window() {
        super.setVisible(true);
        super.setTitle("这是我的小窗口");
        super.setLocation(400,200);
        super.setSize(800,400);
        super.setResizable(true);
        super.setDefaultCloseOperation(2);

    }

    public static void main(String[] args) {
        Window window=new Window();

    }
}
